/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements.  See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/*************************************************************************
 *\author: starlove
 *************************************************************************/
#ifndef __CC_PYTHON_IMPORT_O_EGLVIEW__
#define __CC_PYTHON_IMPORT_O_EGLVIEW__

#include <cocos2d.h>
#include "python_object_nodeobjects.h"

NS_CCPY_BEGIN
	class CPyEGLView : public CPyClassBase
	{
	PYCLASS_DEF_INTERFACE(CPyEGLView)
	public:
		PYCLASS_METHOD_DEF(CPyEGLView, sharedOpenGLView);
		PYCLASS_METHOD_DEF(CPyEGLView, setFrameSize);
		PYCLASS_METHOD_DEF(CPyEGLView, setDesignResolutionSize);
		PYCLASS_METHOD_DEF(CPyEGLView, setViewPortInPoints);
		PYCLASS_METHOD_DEF(CPyEGLView, setScissorInPoints);
		PYCLASS_METHOD_DEF(CPyEGLView, getFrameSize);
		PYCLASS_METHOD_DEF(CPyEGLView, getVisibleSize);
		PYCLASS_METHOD_DEF(CPyEGLView, getVisibleOrigin);
		PYCLASS_METHOD_DEF(CPyEGLView, getDesignResolutionSize);
		PYCLASS_METHOD_DEF(CPyEGLView, isScissorEnabled);
		PYCLASS_METHOD_DEF(CPyEGLView, getScissorRect);
		PYCLASS_METHOD_DEF(CPyEGLView, getViewName);
		PYCLASS_METHOD_DEF(CPyEGLView, setViewName);
	private:
	};
NS_CCPY_END

#endif